
document.querySelector("body").addEventListener("click",function(event){

    if(event.target.id=="addAddress"){
 console.log(111);
 layer.open({
    type: 2,
    title: '添加收货地址',
    shadeClose: true,
    shade: false,
    maxmin: true, //开启最大化最小化按钮
    area: ['893px', '600px'],
    content: 'location.html'
  });
}
})